#include ("/_includes/_layout.html")
#@layout("抽奖中心", "wxmall,点步科技", "Wxmall社区","wxmall")
#define content()
<div class="content">
	#if (lotterys??)
		<div class="bd" style="font-size: 14px;">
			#for(lottery : lotterys)
				<div class="weui-cells">
					<div class="weui-cell weui-cell_access" style="font-size: 14px;">
			            <div class="weui-cell__hd">
			            	<a href="#(webctx)/lottery/draw/?lotteryId=#(lottery.id)">
			            	#if (lottery.lotteryType == 1)
			            	<img style="width:40px;margin-right:5px;display:block" src="#(webctx)/resources/images/jjg-4040.png"/>
			            	#end
					    	#if (lottery.lotteryType == 2)
					    	<img style="width:40px;margin-right:5px;display:block" src="#(webctx)/resources/images/ggk-4040.png" />
					    	#end
					    	#if (lottery.lotteryType == 3)<span>摇一摇</span>#end
					    	#if (lottery.lotteryType == 4)<span>翻翻乐</span>#end
					    	#if (lottery.lotteryType == 5)
					    	<img style="width:40px;margin-right:5px;display:block" src="#(webctx)/resources/images/dazp-4040.png" />
					    	#end
					    	</a>
			            </div>
			            <div class="weui-cell__bd">
			              <p>#(lottery.lotteryName) </p>
			              <p style="color: gray;font-size: 12px;">#(lottery.endDate)</p>
			            </div>
			            <div class="weui-cell__ft">
			            	<a href="#(webctx)/lottery/draw/?lotteryId=#(lottery.id)">
			            	#if (lottery.lotteryType == 1)<span>九宫格</span>#end
					    	#if (lottery.lotteryType == 2)<span>刮刮乐</span>#end
					    	#if (lottery.lotteryType == 3)<span>摇一摇</span>#end
					    	#if (lottery.lotteryType == 4)<span>翻翻乐</span>#end
					    	#if (lottery.lotteryType == 5)<span>大转盘</span>#end			            	</a>
			            </div>
			        </div>
				</div>
			#end
		</div>
	#else
		<div class="content-padded">
	        <p><font color="red">没有抽奖活动</font></p>
	    </div>
	    <!-- <div class="content-padded">
        	<a class="button button-big button-fill button-success" href="javascript:void(0);">联系老板</a>
        </div> -->    
	#end
	<br><br>
</div>
#end
<script type="text/javascript" src="#(webctx)/resources/js/menu_choujiang.js"></script>